package com.nengchuan.eic.nceconomy.entity.vo;

import com.eic.psm.sdk.entity.CoreSection;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 功能描述: 项目--标段
 *
 * @Author: liurui
 * @Date: 2020/5/18 0018 下午 4:19
 */
@Data
public class CoreSectionVO {

    @ApiModelProperty("标段编号")
    private String code;
    @ApiModelProperty("标段名称")
    private String name;
    @ApiModelProperty("标段id")
    private Long id;
    @ApiModelProperty("部门信息")
    private List<DepartInfo> departInfoList=new ArrayList<>();

    public CoreSectionVO(CoreSection coreSection){
        this.code=coreSection.getCode();
        this.name=coreSection.getName();
        this.id=coreSection.getId();
    }

}
